package com.csun.cmny.provider.model.dto.phone;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-09 16:57
 * @Description: the class phone data hi query page
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class PhoneDataHiPageQuery extends BaseQuery {

    private static final long serialVersionUID = -2063213642523424569L;

    private Long deviceId;

//    private String startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startQueryTime;

//    private String endDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endQueryTime;

    private String status;

}
